//
//  UIView+PhyMoVal.h
//  万州V7宝iOS客户端[ObjC]
//
//  Created by DimChum_Haul on 16/1/3.
//  @"Dim.Chum_Haul in 重庆.江北区.汉庭酒店 2015.1.3 <Swift 2.0 :-> Animation_25_D_之基础动画类方法>";
//

#import <UIKit/UIKit.h>

/** NameSpace: Private */

#define kscreenW [UIScreen mainScreen].bounds.size.width
#define kscreenH [UIScreen mainScreen].bounds.size.height

@interface UIView (PhyMoVal)
+(NSString*) Meta_Signature;

/** 点阵三次放大 */
+(void) DCHTinySlide:(UIView*)view;

+ (void) DCHRotate:(UIView *)view withDuration:(CGFloat)duration;
/** 秋千旋转 带重力效果*/
+ (CABasicAnimation*) DCHRotation_springRotation;

/** 2015.11.15汉庭酒店写的卡牌翻转动画 */
+(void) TinyShake :(UIView*)view duration:(CGFloat)duration shakeTimes:(NSUInteger)SKNum;
+(void) PokerFace:(UIView*)view duration:(CGFloat)duration withPnt:(CGPoint)point;
/**
 * @brief viewcontroller之间push和pop的过渡动画
 */
+ (CATransition *)animateWithType:(NSString *)type subType:(NSString *)subType duration:(CFTimeInterval)duration;
+ (CABasicAnimation *)animateWithFromValue:(id)fromValue toValue:(id)toValue duration:(CFTimeInterval)duration keyPath:(NSString *)keyPath;
/**
 * @brief 照片选择状态按钮改变动画
 */
+ (CAKeyframeAnimation *)animateWithBtnStatusChanged;
/** 魔兽世界<颤抖2.5D> */
+ (CAKeyframeAnimation *)shakeAnimation:(CGRect)frame durationTime:(CGFloat)duration;
@end
